package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class SendChat extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 会话 ID */
    private int chatId;

    /** 当前的会话时间（1:第一天，2：第二天，以此类推） */
    private int dayPhase;

    /** 当天会话的阶段：0表示开始 */
    private int conversationStage;

    /** 当前阶段的第一条话术 */
    private String stageContent;

    /** 阶段名称 */
    private String stageName;

    /** 每一天的会话阶段的最大会话条数 */
    private int maxReplyCount;

    /** 内容类型（0:text, 1:img） */
    private int contentType;

    /** 图片 URL */
    private String imgUrl;

    /** 可选内容 */
    private String expandContent;

    private int tag;

    public int getTag() {
        return tag;
    }

    public void setTag(int tag) {
        this.tag = tag;
    }

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 下一条消息建议发送时间间隔 */
    private int nextTime;

    /** 建议延迟发送时间单位秒 默认10 不延迟 */
    private int sendTime;

    public int getChatId() {
        return chatId;
    }

    public void setChatId(int chatId) {
        this.chatId = chatId;
    }

    public int getDayPhase() {
        return dayPhase;
    }

    public void setDayPhase(int dayPhase) {
        this.dayPhase = dayPhase;
    }

    public int getConversationStage() {
        return conversationStage;
    }

    public void setConversationStage(int conversationStage) {
        this.conversationStage = conversationStage;
    }

    public String getStageContent() {
        return stageContent;
    }

    public void setStageContent(String stageContent) {
        this.stageContent = stageContent;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public int getMaxReplyCount() {
        return maxReplyCount;
    }

    public void setMaxReplyCount(int maxReplyCount) {
        this.maxReplyCount = maxReplyCount;
    }

    public int getContentType() {
        return contentType;
    }

    public void setContentType(int contentType) {
        this.contentType = contentType;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getExpandContent() {
        return expandContent;
    }

    public void setExpandContent(String expandContent) {
        this.expandContent = expandContent;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getNextTime() {
        return nextTime;
    }

    public void setNextTime(int nextTime) {
        this.nextTime = nextTime;
    }

    public int getSendTime() {
        return sendTime;
    }

    public void setSendTime(int sendTime) {
        this.sendTime = sendTime;
    }
}
